package com.noreply.springannotation.config;

import com.noreply.springannotation.bean.User;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author noreply
 * @description
 * @datetime 2021/8/22 17:16
 */
@Component
public class ConfigByComponent {
    @Bean
    public User user() {
        return new User();
    }

}
